home *** CD-ROM | disk | FTP | other *** search
- Attribute VB_Name = "Module1"
- Option Explicit
- Type ContGeo
- NVer As Long ' Count of Vertices in object
- xVer() As Double 'coordinates of Vertices
- yVer() As Double
- GrInd As Long ' Index of graphic in graphics collection
- Closed As Boolean ' True - if object is closed
- xSum As Double ' Sum of X-coordinates of vertices of the graphic
- ySum As Double
- Position As String ' position in resulting object - External or Internal
- xyMax(2) As Double ' Max cootdinates of extents of the object
- xyMin(2) As Double ' Min cootdinates of extents of the object
- TakePart As Boolean ' True - if object took part in operation
- GrType As String ' Type of the graphic
- r As Double ' Rarius if Object Circle Or Arc
- xc As Double
- yc As Double
- End Type
- Type DDD
- LL As Double
- xx As Double
- yy As Double
- jj As Long
- jj1 As Long
- kk As Long
- Tangent As String
- End Type
-
- Type TTT
- Bet As Double
- jInit As Long
- kk As Long
- ddir As Integer
- End Type
-
- Type HorizInt
- xInt As Double
- yInt As Double
- Ncont As Long
- End Type
- Type GrWithUnVis
- xVer() As Double
- yVer() As Double
- Pen() As Boolean
- TakePart() As Boolean
- End Type
-
-
- Global ContSel() As ContGeo
- Global objApp As XApplication
- Global Drs As Drawings
- Global Dr As Drawing
- Global Grs As Graphics
- Global Gr As Graphic
- Global Vis As Views
- Global Vi As View
- Global PRes As PickResult
- Global PEnt As PickEntry
- Global ContRes As ContGeo
- Global Const Pi = 3.14159265359
- Global Eps As Double
- Global Const nVCirc = 41
-
- ' 65
-
- Sub Main()
- End Sub
-
-